<template>
	<view class="content">
		<!-- 按组使用 -->
		<uni-swipe-action>
			<view v-for="(item, index) in productList" :key="index">
				<uni-swipe-action-item :right-options="options"  @click="swipeClick($event, index)">
					<!--商品列表-->
					<product-item-row :item="item" :showTime="true"></product-item-row>
				</uni-swipe-action-item>
			</view>
		</uni-swipe-action>
		<uni-load-more :status="loadingType"></uni-load-more>
	</view>
</template>

<script src = "./collection.js"></script>

<style lang="scss" src = "./collection.scss"></style>